﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.Activities.Tracking;

namespace AppToolkit.WF.Services
{
    [DataContractAttribute]
    public class ProgressTrackingRecord : CustomTrackingRecord
    {
        public ProgressTrackingRecord(string name) : base(name)
        {
        }

        public ProgressTrackingRecord(ProgressTrackingRecord record) : base(record)
        {
        }

        protected override TrackingRecord Clone()
        {
            return new ProgressTrackingRecord(this);
        }

        public int Maximum { get; set; }
        public int Current { get; set; }
    }
}
